# IMU 协议库测试构建配置

if get_option('enable_tests')
    imu_test_sources = files([
        'test_imu.cpp',
    ])

    imu_test = executable(
        'test_imu',
        imu_test_sources,
        dependencies: [
            gtest_dep,
            gmock_dep,
            libimu_dep,
            mc_core_dep,
            mc_engine_dep,
        ],
        include_directories: [
            include_directories('../../../libraries'),
            mc_core_inc,
        ],
    )

    # 添加到测试套件
    test('imu_test', imu_test)
endif
